﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IISLogAnalysis.Config
{
    public class CommonData
    {
        //public static readonly string Query_Max_IP = @"select c-ip,count(*) as count from {0} group by c-ip order by count desc";

        public static string GetQeurySimple(string logPath)
        {
            return string.Format(@"select *  from d:\iis.log ", logPath);
        }

        public static string GetQueryForMaxIP(string logPath)
        {
            return string.Format("select c-ip,count(*) as count from {0} group by c-ip order by count desc",logPath);
        }
    }
}
